<?php if (jfPortableDevice::isNativeApp() && jfPortableDevice::getConfig('appVersion')): ?>
<script>jfPD.controller.requireAppVersion(<?php echo jfPortableDevice::getConfig('appVersion') ?>);</script>
<?php endif; ?>